RestException

class RestException(val fullMessage: String, val httpResponse: HttpResponse, message: String) : Exception

Исключение, выбрасываемое некоторыми методами класса RestServiceClientHelper.

В fullMessage исключения передается строка с ответом от сервиса

Parameters

fullMessage

Ответ от сервиса в виде строки

httpResponse

Ответ от сервиса

message

Сообщение об ошибке

Constructors

Link copied to clipboard
constructor(fullMessage: String, httpResponse: HttpResponse, message: String)

Конструктор класса

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
Link copied to clipboard
val httpResponse: HttpResponse
Link copied to clipboard
open val message: String?

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard